package com.breeze.filter;

import com.breeze.domain.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "user-alibaba")
public interface UserFilter {

    @GetMapping("/getById/{id}")
    public User getById(@PathVariable Long id);
}
